#ifndef _myIAP_H_
#define _myIAP_H_

#include <sc95f.h>

typedef enum
{
    IAP_APROM = 0x00,
    IAP_Unique_ID = 0x01,
    IAP_EEPROM = 0x02,
    IAP_LDROM = 0x02,
} ADE_address;

typedef enum
{
    EEPROM_Sector0 = 0x0000,
    EEPROM_Sector1 = 0x0200,
} Sector_Address;

void Save_erase(uint16_t IAP_Address);
void Save_write(uint16_t IAP_Address, uint8_t IAP_Data);
uint8_t Save_read(uint16_t IAP_Address);

#endif
